package cn.xfdzx.android.apps.shop.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * @author gzk
 * @date 2020/5/16 0016
 * description：
 */
public class NewOrderBeen {


    /**
     * status : 200
     * data : {"status":"WECHAT_PAY","result":{"orderId":"wx158961181250515394","key":"f12d0ab53eca82bc766733ac1387b940","is_group":false,"jsConfig":{"appid":"wx1c9ad721a5cf831b","partnerid":"1589675861","prepayid":"wx161450128570009c0ec321bc1964394900","noncestr":"5ebf8d24dba5a","timestamp":1589611812,"package":"Sign=WXPay","sign":"DF61919BF4D91F2BD314C07A9ACFDED1"}}}
     * msg : 订单创建成功
     */

    private int status;
    private DataBean data;
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean  implements Serializable {
        /**
         * status : WECHAT_PAY
         * result : {"orderId":"wx158961181250515394","key":"f12d0ab53eca82bc766733ac1387b940","is_group":false,"jsConfig":{"appid":"wx1c9ad721a5cf831b","partnerid":"1589675861","prepayid":"wx161450128570009c0ec321bc1964394900","noncestr":"5ebf8d24dba5a","timestamp":1589611812,"package":"Sign=WXPay","sign":"DF61919BF4D91F2BD314C07A9ACFDED1"}}
         */

        private String status;
        private ResultBean result;

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public ResultBean getResult() {
            return result;
        }

        public void setResult(ResultBean result) {
            this.result = result;
        }

        public static class ResultBean implements Serializable{
            public String getAbcApp() {
                return abcApp;
            }

            public void setAbcApp(String abcApp) {
                this.abcApp = abcApp;
            }

            /**
             * orderId : wx158961181250515394
             * key : f12d0ab53eca82bc766733ac1387b940
             * is_group : false
             * jsConfig : {"appid":"wx1c9ad721a5cf831b","partnerid":"1589675861","prepayid":"wx161450128570009c0ec321bc1964394900","noncestr":"5ebf8d24dba5a","timestamp":1589611812,"package":"Sign=WXPay","sign":"DF61919BF4D91F2BD314C07A9ACFDED1"}
             */

            private String abcApp;
            private String orderId;

            public String getAlipay_param() {
                return alipay_param;
            }

            public void setAlipay_param(String alipay_param) {
                this.alipay_param = alipay_param;
            }

            private String alipay_param;

            public String getAlipay() {
                return alipay;
            }

            public void setAlipay(String alipay) {
                this.alipay = alipay;
            }

            private String alipay;
            private String key;
            private boolean is_group;
            private JsConfigBean jsConfig;

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public boolean isIs_group() {
                return is_group;
            }

            public void setIs_group(boolean is_group) {
                this.is_group = is_group;
            }

            public JsConfigBean getJsConfig() {
                return jsConfig;
            }

            public void setJsConfig(JsConfigBean jsConfig) {
                this.jsConfig = jsConfig;
            }

            public static class JsConfigBean implements Serializable{
                /**
                 * appid : wx1c9ad721a5cf831b
                 * partnerid : 1589675861
                 * prepayid : wx161450128570009c0ec321bc1964394900
                 * noncestr : 5ebf8d24dba5a
                 * timestamp : 1589611812
                 * package : Sign=WXPay
                 * sign : DF61919BF4D91F2BD314C07A9ACFDED1
                 */

                private String appid="";
                private String partnerid;
                private String prepayid;
                private String noncestr;
                private int timestamp;
                @SerializedName("package")
                private String packageX;
                private String sign;

                public String getAppid() {
                    return appid;
                }

                public void setAppid(String appid) {
                    this.appid = appid;
                }

                public String getPartnerid() {
                    return partnerid;
                }

                public void setPartnerid(String partnerid) {
                    this.partnerid = partnerid;
                }

                public String getPrepayid() {
                    return prepayid;
                }

                public void setPrepayid(String prepayid) {
                    this.prepayid = prepayid;
                }

                public String getNoncestr() {
                    return noncestr;
                }

                public void setNoncestr(String noncestr) {
                    this.noncestr = noncestr;
                }

                public int getTimestamp() {
                    return timestamp;
                }

                public void setTimestamp(int timestamp) {
                    this.timestamp = timestamp;
                }

                public String getPackageX() {
                    return packageX;
                }

                public void setPackageX(String packageX) {
                    this.packageX = packageX;
                }

                public String getSign() {
                    return sign;
                }

                public void setSign(String sign) {
                    this.sign = sign;
                }
            }
        }
    }
}
